package edu.gmu.messages;
public class Unsubscribe implements edu.gmu.middleware.Message{
public Unsubscribe() { }
public int[] messageId;
public Client client;

public void marshal(edu.gmu.streams.BlockOutputStream output) throws java.io.IOException{
    int messageIdSize = messageId.length;
    output.writeInt( messageIdSize );
    output.write( messageId );
    this.client.marshal(output);
}

public void unmarshal(edu.gmu.streams.BlockInputStream input) throws java.io.IOException{
    int messageIdSize = input.readInt();
    this.messageId = new int[messageIdSize];
    input.read( messageId );
    this.client = new Client();
    this.client.unmarshal(input);
}
}
